/*
 * @Author: 依旧 1127740739@qq.com
 * @Date: 2025-04-19 00:32:23
 * @LastEditors: 依旧 1127740739@qq.com
 * @LastEditTime: 2025-04-19 01:25:14
 * @FilePath: \app-case\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import App from './App.vue'

// 导入Element Plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 导入Element Plus图标
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// 导入路由
import router from './router'

const app = createApp(App)

// 注册Element Plus
app.use(ElementPlus)
// 注册路由
app.use(router)

// 注册所有图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.mount('#app')
